<%@page import="com.tjsinfo.tjsoa.workReport.vo.TResourceWorkReport"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
TResourceWorkReport workReport=(TResourceWorkReport)request.getAttribute("workReport");
String filePath=basePath+workReport.getContent();
filePath=filePath.replace("/","\\");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>天津市粮油集团有限公司 OA办公自动化协作平台</title>
    <script language='JavaScript'>
<!--
 
if (window.Event) 
  document.captureEvents(Event.MOUSEUP); 
 
function nocontextmenu() 
{
 event.cancelBubble = true
 event.returnValue = false;
 
 return false;
}
 
function norightclick(e) 
{
 if (window.Event) 
 {
  if (e.which == 2 || e.which == 3)
   return false;
 }
 else
  if (event.button == 2 || event.button == 3)
  {
   event.cancelBubble = true
   event.returnValue = false;
   return false;
  }
 
}
 
document.oncontextmenu = nocontextmenu;  // for IE5+
document.onmousedown = norightclick;  // for all others
//-->
</script>
  </head>
  
  <body id="basic">
  <div align="center"><font size="5"><%=workReport.getTitle() %></font></div>
    <div align="center"><iframe src="<%=filePath %>" frameborder="0" scrolling="auto" height="100%" width="100%"></iframe><noscript></noscript></div>
  </body>
</html>
